package com.song.shop.dao;

import com.song.shop.entity.Shop;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface ShopDao {
	
	Map<String, Object> testData();
	
	Shop getOne();
	
	List<Shop> shopList();
	
	/**
	 *  获取所有产品信息
	 * @return
	 */
	List<Shop> getAll();

	int insertShop(Shop shop);

	int insertShop2(Shop shop);

	int updateShop(Shop shop) ;

	int delateById(String id);

	List<Shop> queryByIds(@Param("ids") List<String> ids);
}
